﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="ZLCMS.Web.Example.Lucene.Search" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>查询</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    关键词：<asp:TextBox ID="TextBox1" runat="server" Width="280px"></asp:TextBox>
        <asp:Button ID="Button1"  runat="server" Text="查询" onclick="Button1_Click" />
    </div>
    <div style="margin:5px;font-size:12px">
    <div>找到
        <asp:Label ID="Label1" runat="server" Text="0"></asp:Label>条相关记录
    </div>
    <asp:repeater runat="server" ID="repeater">
        <ItemTemplate>
            <div style="margin-top:15px">
                <a href="javascript:void(0)">编码：<%#Eval("Code")%></a>
                <div style="font-size:14px"><%#Eval("Name")%> (<%#Eval("PY") %>)</div>
            </div>
        </ItemTemplate>
    </asp:repeater>
    
    </div>
    </form>
</body>
</html>

